package com.ruibang.glass.quality.domain.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: songJinKang
 * @CreateTime: 2023-10-20  09:34
 * @Description: TODO
 * @Version: 1.0
 */
@Data
public class CapabilityDiagram implements Serializable {

    @ApiModelProperty("下限(过程数据)")
    private BigDecimal lsl;
    @ApiModelProperty("目标(过程数据)")
    private String target;
    @ApiModelProperty("上线(过程数据)")
    private BigDecimal usl;
    @ApiModelProperty("样本均值(过程数据)")
    private BigDecimal mean;
    @ApiModelProperty("样本数量(过程数据)")
    private Integer count;
    @ApiModelProperty("标准差（组内）(过程数据)")
    private BigDecimal groupStandardDeviation;
    @ApiModelProperty("标准差（整体）(过程数据)")
    private BigDecimal wholeStandardDeviation;

    @ApiModelProperty("cp(潜在（组内）能力)")
    private BigDecimal cp;
    @ApiModelProperty("cpl(潜在（组内）能力)")
    private BigDecimal cpl;
    @ApiModelProperty("cpu(潜在（组内）能力)")
    private BigDecimal cpu;
    @ApiModelProperty("cpk(潜在（组内）能力)")
    private BigDecimal cpk;

    @ApiModelProperty("pp(整体能力)")
    private BigDecimal pp;
    @ApiModelProperty("pll(整体能力)")
    private BigDecimal ppl;
    @ApiModelProperty("ppu(整体能力)")
    private BigDecimal ppu;
    @ApiModelProperty("ppk(整体能力)")
    private BigDecimal ppk;
    @ApiModelProperty("cpm(整体能力)")
    private BigDecimal cpm;

    @ApiModelProperty("组内分布图")
    private List<ProfilePoint> groupProfilePoint;
    @ApiModelProperty("整体分布图")
    private List<ProfilePoint> wholeProfilePoint;

    @ApiModelProperty("尺度")
    private List<Integer> scale;
    @ApiModelProperty("数据范围")
    private List<DataRange> range;

    @ApiModelProperty("Y轴最大值")
    private BigDecimal yMax;
}
